package com.itheima.pattern.factory.factory_abstract;


import com.itheima.pattern.factory.factory_method.AmericanCoffee;
import com.itheima.pattern.factory.factory_method.Coffee;

public class AmericanDessertFactory implements DessertFactory {


    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMouse();
    }

}
